package com.arlen.centre.exceptionHandle;

public class WxException extends RuntimeException {
    private final String message;
    private String code;

    public WxException(String message, String code) {
        this.message = message;
        this.code =code;
    }

    public WxException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}

